package java3_16.Teacher;
//.Net教师类  子类
public class NetTeacher extends Teachers{
    public NetTeacher(String name,int age,String sex,String teachYear){
        super.setName(name);
        super.setAge(age);
        super.setSex(sex);
        super.setTeachYear(teachYear);
    }
    public void teachNet(){
        System.out.println("我熟悉C#教学方法!");
    }
}
